import request from "@/utils/request.js";
// 查询获取企业列表
export const enterpriseList = (params) => {
  return request({
    url: "/enterprise/list",
    method: "get",
    params,
  });
};
//新增企业
export const enterpriseAdd = (params) => {
  return request({
    url: "/enterprise/add",
    method: "post",
    params,
  });
};
//新增企业
export const enterpriseEdit = (params) => {
  return request({
    url: "/enterprise/edit",
    method: "post",
    params,
  });
};
// 删除企业 /enterprise/status
export const enterpriseRemove = (params) => {
  return request({
    url: "/enterprise/remove",
    method: "post",
    params,
  });
};
// 企业状态设置
export const enterpriseStatus = (data) => {
  return request({
    url: "/enterprise/status",
    method: "post",
    data,
  });
};
